package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

public class OptionForExamModel {
    /**
     * 选项顺序
     */
    @ApiModelProperty(value = "选项顺序", example = "1")
    @Column(name = "option_order")
    private Integer optionOrder;

    /**
     * 选项名：字符串格式
     */
    @ApiModelProperty(value = "选项名：字符串格式", required = true)
    @Column(name = "option_name")
    private String optionName;

    /**
     * 选项名：HTML格式
     */
    @ApiModelProperty(value = "选项名：HTML格式", required = true)
    @Column(name = "option_name_html")
    private byte[] optionNameHtml;

    /**
     * 选项名：String格式
     */
    @ApiModelProperty(value = "选项名：String格式")
    private String optionNameHtmls;

    /**
     * 试题id
     */
    @ApiModelProperty(value = "试题id", required = true)
    @Column(name = "question_id")
    private String questionId;
    /**
     * 选项是否乱序（0 否，1 是）
     */
    @ApiModelProperty(value = "选项是否乱序（0 否，1 是）", example = "1")
    @Column(name = "is_out_of_order")
    private Integer isOutOfOrder;

    /**
     * 历史题id
     */
    @ApiModelProperty(value = "历史题id")
    @Column(name = "history_id")
    private String historyId;


    /* *****************************以下是非模板生成的内容************************************ */

}
